package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.common.constant.RefundReview;
import com.cloudfun.campusshare.common.model.dto.RefundSettlementDto;
import com.cloudfun.campusshare.common.model.vo.OrderRefundAuditVo;
import com.cloudfun.campusshare.entity.OrderRefundEntity;
import io.swagger.annotations.ApiParam;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface OrderRefundService {
    Page<OrderRefundEntity> page(Pageable pageable,String orderNo, RefundReview refundReview);

    OrderRefundEntity get(Integer id);

    OrderRefundEntity audit(OrderRefundAuditVo auditVo);

    /**
     * 退款结算统计
     * @return
     */
    List<RefundSettlementDto> refundSettlementStatistics(String data);
}
